package com.biubiushop.repository;

import com.biubiushop.entity.Orders;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IOrdersRepository extends JpaRepository<Orders, String> {

	Orders getById(String id);
	
	List<Orders> getByUserId(String id);

}
